<template>
  <section>
    <h2>我是Sub-A组件</h2>
    <p>query参数name: {{name}}</p>
    <p>query参数age: {{age}}</p>
  </section>
</template>
  
<script>
export default {
    props: ["name","age"]
};
</script>
  
<style scoped>
h2 {
  color: #f00;
}
</style>